import markerIcon from "assets/imgs/marker.png";
import "./index.css";
export default function WindowInfo({ regionName }) {
  return (
    <div id="windowInfo">
      <div className="info-box">
        <div className="content">
          <div className="top-title">
            <div className="title">{regionName}</div>
            <div id="detailbtn">详情</div>
          </div>
          <div className="top-container">
            <p>
              问题处理工单总数<span>5555</span>
            </p>
            <p>
              日常巡检工单总数<span>4444</span>
            </p>
          </div>
          <div className="bottom-container"></div>
        </div>
        <div className="under"></div>
      </div>
      <img src={markerIcon} alt="" className="marker" />
    </div>
  );
}
